import request from "@pangza-club/utils/axios";

export function getLabelListByCategoryId(categoryId: number) {
    return request.get<Label[]>(`/api/label/list/category/${categoryId}`, );
}

export function getLabelOrCategory(id: number, type: string) {
    return request.get<Label>(`/api/label/${id}/${type}`)
}